<?php
/**
 * Qaptcha 评论验证
 * Remember
 */
defined('IN_PHPCMS') or exit('No permission resources.');
qaptcha_comment();
function qaptcha_comment() {
	if(!session_id()) session_start();
	if(empty($_POST['iQapTcha']) && isset($_SESSION['iQaptcha']) && $_SESSION['iQaptcha']) {
		unset($_SESSION['iQaptcha']);
		exit('1');
	} else {
		exit('0');
	}
}
?>